package com.hhf.demo_01;/**
* @Author: 黄恒锋
* @DateTime: 2024/5/11 18:14
* @Description: TODO
*/
public class ThreadDemo1 extends Thread{

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(Thread.currentThread().getName()+"打印"+i);
        }
    }
}
